package com.mxin.ui.global

import android.app.Dialog
import android.content.Context
import com.mxin.ui.widget.dialog.loading.LoadingDialog

object GlobalViewManager {

//    init {
//        initRefreshLayout()
//    }

    fun createLoadingView(context: Context): Dialog{
        return LoadingDialog.Builder(context).create()
    }

    fun createLoadingIndicatorView(context: Context): Dialog{
        return LoadingDialog.Builder(context).createIndicator()
    }

}